//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
#ifndef __SYSTEM_FILE_H_
#define __SYSTEM_FILE_H_

#include <auratypes.h>

AURA_API FileHelper_Open(
        /* [in] */ Aura_PWChar wszName, 
        /* [out] */ FILE *ppFile);

AURA_API FileHelper_Read(
        /* [in] */ FILE pFile, 
        /* [in] */ Aura_UInt32 offset, 
        /* [in] */ Aura_UInt32 size,
        /* [out] */ Aura_PVoid *ppBuf);
        
AURA_API FileHelper_GetSize(
        /* [in] */ FILE pFile, 
        /* [out] */ Aura_UInt32 *pSize);        
        
AURA_API FileHelper_Close(
        /* [in] */ FILE pFile);        

#endif  //__SYSTEM_FILE_H_
